import _import from '@/router/_import'
import Layout from '@/views/layout'

/**
 * 内容管理系统路由表
 */
export const ZuCheRouterMap = [
    {
        path: '',
        component: Layout,
        redirect: '/dashboard',
        noDropDown: true,
        children: [
            {
                path: 'dashboard',
                name: '仪表盘',
                icon: 'el-icon-location-outline',
                component: _import('dashboard/ZuChe')
            }
        ]
    },
    {
        path: '/cms/content',
        name: '加盟商管理',
        icon: 'el-icon-menu',
        component: Layout,
        redirect: '/cms/content/list',
        noDropDown: true,
        children: [
            {
                path: 'list',
                name: '添加内容',
                component: _import('cms/content/List'),
            },
            {
                path: 'add',
                name: '编辑内容',
                component: _import('cms/content/Add'),
            }
        ]
    },
    {
        path: '/cms/content',
        name: '终端设备管理',
        icon: 'el-icon-menu',
        component: Layout,
        redirect: '/cms/content/list',
        noDropDown: true,
        children: [
            {
                path: 'list',
                name: '添加内容',
                component: _import('cms/content/List'),
            },
            {
                path: 'add',
                name: '编辑内容',
                component: _import('cms/content/Add'),
            }
        ]
    },
    {
        path: '/cms/data',
        name: '车辆管理',
        component: Layout,
        icon: 'el-icon-location-outline',
        children: [
            {
                path: 'content',
                name: '车辆信息',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '停车场管理',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '停车场范围管理',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '租金规则模板',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '停车场管理',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '轨迹回放',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '实时监控',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            }
        ]
    },
    {
        path: '/cms/data',
        name: '订单管理',
        component: Layout,
        icon: 'el-icon-location-outline',
        children: [
            {
                path: 'content',
                name: '租车订单管理',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '押金订单管理',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '金豆充值记录',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '事故管理',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '报销管理',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '吐槽管理',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '有车提醒',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            }
        ]
    },

    {
        path: '/cms/data',
        name: '活动管理',
        component: Layout,
        icon: 'el-icon-location-outline',
        children: [
            {
                path: 'content',
                name: '推广达标活动管理',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '二维码推广活动',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '支付赠送活动',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '公开领取活动',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '新手驾练活动',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '优惠券活动',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            }
        ]
    },

    {
        path: '/cms/data',
        name: '统计报表',
        component: Layout,
        icon: 'el-icon-location-outline',
        children: [
            {
                path: 'content',
                name: '订单统计报表',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '会员统计报表',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '车辆统计报表',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '用户使用统计',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '运营报表',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '停车场出车统计',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '结算报表',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            }
        ]
    },

    {
        path: '/cms/user',
        name: '会员管理',
        component: Layout,
        icon: 'el-icon-location-outline',
        children: [
            {
                path: 'content',
                name: '待认证会员',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '免押金会员',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            },
            {
                path: 'content',
                name: '会员管理',
                icon: 'el-icon-menu',
                component: _import('cms/content/index')
            }
        ]
    },

    {
        path: '/cms/user',
        name: '运营管理',
        component: Layout,
        icon: 'el-icon-location-outline',
        children: [
            {
                path: 'content',
                name: '友情链接',
                icon: 'el-icon-menu',
                component: Layout
            },
            {
                path: 'content',
                name: '广告管理',
                icon: 'el-icon-menu',
                component: Layout
            },
            {
                path: 'content',
                name: '转账管理',
                icon: 'el-icon-menu',
                component: Layout
            }
        ]
    },

    {
        path: '/cms/user',
        name: '辅助',
        component: Layout,
        icon: 'el-icon-location-outline',
        children: [
            {
                path: 'content',
                name: '定时任务',
                icon: 'el-icon-menu',
                component: Layout
            },
            {
                path: 'content',
                name: '二维码生成',
                icon: 'el-icon-menu',
                component: Layout
            },
            {
                path: 'content',
                name: '字典',
                icon: 'el-icon-menu',
                component: Layout
            }
        ]
    },

    {
        path: '/cms/user',
        name: '配置',
        component: Layout,
        icon: 'el-icon-location-outline',
        children: [
            {
                path: 'content',
                name: '通用配置',
                icon: 'el-icon-menu',
                component: Layout
            },
            {
                path: 'content',
                name: 'FTP管理',
                icon: 'el-icon-menu',
                component: Layout
            }
        ]
    }
]
